package com.dkm.orproject.dkmoa.service;

import com.dkm.orproject.dkmoa.domain.OaCar;
import com.dkm.orproject.dkmoa.domain.OaPersonnel;
import com.dkm.orproject.dkmoa.domain.OaVote;

import java.util.List;

/**
 * @ClassName : OaCarService  //类名
 * @Description : 车辆服务接口  //描述
 * @Author : 易嵘  //作者
 * @Date: 2021-01-20 09:26  //时间
 */
public interface OaCarService {
    List<OaCar> findAll(String carName, String startTime, String endTime, Integer page, Integer limit);

    Long rowCount(String carName, String startTime, String endTime);

    OaCar selectByPrimaryKey(Long id);

    int add(OaCar car, OaPersonnel personnel);

    int updateByPrimaryKeySelective(OaCar car);

    List<OaCar> selectAll(List<Long> list);

    int deleteAll(List<Long> list);

    int deleteByPrimaryKey(Long id);
}
